package com.gpframework.module.wages.service;

import com.gpframework.module.wages.domain.GzMonthlySalesCommission;
import com.gpframework.module.wages.domain.vo.GzMonthlySalesCommissionVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzMonthlySalesCommission
 * @Author gpframework
 * @Date 2024-01-24
 * @Version 1.0.0
 * @Description 销售月度提成Service接口
 */
public interface IGzMonthlySalesCommissionService extends IService<GzMonthlySalesCommission> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-24
     * @Param [lqw]
     * @Return List<GzMonthlySalesCommissionVo>
     */
    List<GzMonthlySalesCommissionVo> listVo(QueryWrapper<GzMonthlySalesCommission> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-24
     * @Param [id]
     * @Return GzMonthlySalesCommissionVo
     */
    GzMonthlySalesCommissionVo getVoById(Long id);

    void deleteByMonth(Date month);

    String importListNote(List<GzMonthlySalesCommissionVo> excelList, boolean updateSupport);

    List<GzMonthlySalesCommissionVo> listVoed(QueryWrapper<GzMonthlySalesCommission> lqw);
}
